package com.shanshan.dubborpc.provider;

import com.shanshan.dubborpc.publicinterface.HelloService;

/**
 * @Description
 * @ClassName HelloServiceImpl
 * @Author 山山大魔王
 * @Date 2022/9/2 13:33
 * @Version 1.0
 */
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String message) {
        System.out.println("收到客户端消息=" + message);
        if (message != null){
            return "你好客户端，我已经收到你的消息 [" + message + "]";
        } else{
            return "你好客户端，我已经收到你的消息 ";
        }
    }
}
